package com.ziq.baselib.test.hilt

import android.annotation.SuppressLint
import android.os.Bundle
import com.ziq.base.base.BaseActivity
import com.ziq.base.manager.RetrofitManager
import com.ziq.base.base.hilt.GlobalConfigModule
import com.ziq.base.extension.binding
import com.ziq.baselib.databinding.ActivityHiltBinding
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject

@AndroidEntryPoint
class HiltActivity: BaseActivity() {

    private val binding : ActivityHiltBinding by binding()

    @Inject
    lateinit var retrofitManager: RetrofitManager
    @Inject
    lateinit var globalConfigModule: GlobalConfigModule

    @SuppressLint("SetTextI18n")
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding.root
        binding.tv.text = "hilt"
    }
}